		<table cellpadding="3" cellspacing="1"  id="list-table">
			<tr>
						<#--
				<th>ID</th>
				
				-->
						<th>路线名称</th>
						<th>状态</th>
						<th>主类型</th>
						
					
						<th>地点列</th>
						<th>时间列</th>
						<th>类型列</th>
						<#--
						<th>景点数量</th>
						-->
						<th>推荐等级</th>
						<th>推荐时间类型</th>
						<th>推荐时间</th>
						<th>必驾理由</th>
					
						<th>列表图片</th>
					    <th>首页图片</th>
					  	<th>必驾理由图</th>
					  		<th>行程规划图片</th>
					  		<th>行程规划描述</th>
						<th>操作</th>
			</tr>
			<#if (touristRouteList?size>0) >
    <#list  touristRouteList as touristRoute>
      <tr>
				<#--	<td valign="top" nowrap="nowrap"> ${(touristRoute.routeId)?c}</td>
				 -->
					<td  align="center" valign="top" nowrap="nowrap" title="ID:${(touristRoute.routeId)}">
					
					<#if (touristRoute.routeName)??>
					 ${touristRoute.routeName} 
					 	</#if>
			       </td>
					<td   align="center" valign="top">
					<#if (touristRoute.status)??>
					 
					
						 <#if touristRoute.status==1 >
						      未启用
						</#if>
						 <#if touristRoute.status==2 >
							 启用
						</#if>
					
					</#if>
					</td>
				  <td   align="center" valign="top">
					<#if (touristRoute.mainType)??>
					 
					
						 <#if touristRoute.mainType==1 >
						      常规
						</#if>
						 <#if touristRoute.mainType==2 >
							  虚拟
						</#if>
					
					</#if>
					</td>
			 

					<td align="center" valign="top" >
						<#if (touristRoute.routeLocation)??>
						 
					 
						
						 <#if (cityLists?size>0) >
							<#list  cityLists as city>
							 
							<#if city.citycode==touristRoute.routeLocation >
					
							 ${city.city} 
						 
							</#if>
							  
							</#list>
						</#if>
						
								</#if>
					</td>
					
						<td align="center" valign="top" >
						<#if (touristRoute.routeCycle)??>
						 
						
						
							 <#if (cycleLists?size>0) >
								<#list  cycleLists as cycle>
							 
								<#if (cycle.cycleListId)?string==touristRoute.routeCycle >
					
									 ${cycle.minDay} 
						 
								</#if>
							  
								</#list>
							</#if>
						
								</#if>
					</td>
					
				 
						<td align="center" valign="top" >
						<!--
						<#if (touristRoute.routeType)??>
						${touristRoute.routeType}
						 </#if>
							-->
						<#assign x=touristRoute.routeType>
						<#list x?split(",") as i>
						
						
							<#list  routeTypeLists as routeType>
							 
								<#if (routeType.routeTypeListId)?string==i >
					
									 ${routeType.content} 
						 
								</#if>
							  
								</#list>
						
						
						</#list>
								
								
					</td>
					
				 <#--
					
					<td   align="center">
					<#if (touristRoute.routeNodeCount)??>
					${touristRoute.routeNodeCount}
					</#if>
					</td>
					-->
					<td align="center" valign="top" >
						<#if (touristRoute.recommondDegree)??>
							${touristRoute.recommondDegree}
						</#if>
					</td>
					  <td   align="center"  valign="top">
					<#if (touristRoute.recommondTravleDateType)??>
					 
					
					 <#if touristRoute.recommondTravleDateType==1 >
					
						 
						      月份范围
						</#if>
						 <#if touristRoute.recommondTravleDateType==2 >
						
							  指定日期
						 
						</#if>
					 <#if touristRoute.recommondTravleDateType==3 >
						
							  日期范围
						 
						</#if>
					  
					</#if>
					</td>
					  <td   align="center"  valign="top">
					<#if (touristRoute.recommondTravleDate)??>
					  ${touristRoute.recommondTravleDate}
					
					 
					</#if>
					</td>
					<#--
 					<td   align="center">
					<#if (touristRoute.addTime)??>
					${touristRoute.addTime?string("yyyy-MM-dd HH:mm:ss")}
					</#if>
					</td>
					-->
					<td   align="center"  valign="top"  title="${touristRoute.routeDesc}">
					<#if (touristRoute.routeDesc)??>
						 
						 <#if touristRoute.routeDesc?length lt 11>   
							${touristRoute.routeDesc}

							<#else> 
    						 ${touristRoute.routeDesc[0..10]}... 
						</#if>
						 
						 
						
					</#if>
					</td>
					
					
					
					
					  <td   align="center"  valign="top">
				 <#if (touristRoute.listImage)??>
			 
				 
				 	<a href="../${touristRoute.listImage}" > <img src="../${touristRoute.listImage}" width="30px"></a>
				 </#if>
					</td>
					  <td   align="center"  valign="top">
					 <#if (touristRoute.showImage)??>
			 
				 
				 	<a href="../${touristRoute.showImage}" > <img src="../${touristRoute.showImage}" width="30px"></a>
				 </#if>
					</td>
					
					  <td   align="center"  valign="top">
				 <#if (touristRoute.backgroundImage)??>
			 
				 
				 	<a href="../${touristRoute.backgroundImage}" > <img src="../${touristRoute.backgroundImage}" width="30px"></a>
				 </#if>
					</td>
					 <td   align="center"  valign="top">
				 <#if (touristRoute.routePlanImage)??>
			 
				 
				 	<a href="../${touristRoute.routePlanImage}" > <img src="../${touristRoute.routePlanImage}" width="30px"></a>
				 </#if>
					</td>
					
					 <td   align="center"  valign="top" title="">
				 
			 
				  
  <#if (touristRoute.routePlanPic)??>
						 
						 <#if touristRoute.routePlanPic?length lt 11>   
							${touristRoute.routePlanPic}

							<#else> 
    						 ${touristRoute.routePlanPic[0..10]}... 
						</#if>
						 
						 
						
					 
				 </#if>
					</td>
					<td   align="center">
					<#--
						 <a href="javascript: var win=window.open('../product/getRouteGalleryListByRouteId.action?relationRouteId=${touristRoute.routeId}','_blank','toolbar=no,scrollbars=yes,top=150,left=400,width=600,height=400')" >路线风情 </a>
				 |
				 -->
				  <a href="javascript: var win=window.open('../product/getRouteNodeListByRouteId.action?relationRouteId=${touristRoute.routeId}','_blank','toolbar=no,scrollbars=yes,top=150,left=400,width=600,height=400')" >景点信息 </a>
				  
					 |
						<a href="../product/getTouristRouteById.action?routeId=${touristRoute.routeId}">编辑</a>
					 |
						<a  onclick="{if(confirm('你确定要解除锁定吗？')){return true;}return false;}"  href="../product/deleteTouristRoute.action?routeId=${touristRoute.routeId}">删除</a>
						 
		 
				 
					
						 
					</td>
				</tr>
    </#list>
</#if>


</table>
 <script type="text/javascript">
     listTable.action = "ajaxQueryTouristRouteList.action";
     listTable.currentPage=${(page.currentPage)?c};
     listTable.pageCount=${(page.totalPage)?c};
     listTable.recordCount=${(page.allRow)?c};
 </script>
<!-- 分页 -->
<table id="page-table" cellspacing="0">
			<tr>
				<td align="right" nowrap="true">
					<div id="turn-page">
					共<span id="totalRecords">${page.allRow} </span>条记录&nbsp; 
					共<span	id="totalPages">${page.totalPage}</span> 页&nbsp;
				当前第<span	id="pageCurrent">${page.currentPage}</span>页&nbsp;  
	     
	     <!--也许可以换种方式，呵呵，不用人工输入，用下拉列表-->
	     每页显示记录条数 <input type='text' size='3' id='pageSize' value="${page.pageSize}" onkeypress="return listTable.changePageSize(event)" />
	   <!--查询动作-->
	    <input type='hidden' size='3' id='action' value="ajaxQueryTouristRouteList.action"/>
	       
							
						<span id="page-link">  
						<a	href="javascript:listTable.gotoPageFirst()">第一页</a> 
						<a	href="javascript:listTable.gotoPagePrev()">前一页</a> 
						<a	href="javascript:listTable.gotoPageNext()">下一页</a> 
						<a	href="javascript:listTable.gotoPageLast()">最后一页</a> 
						<select	id="gotoPage" onchange="listTable.gotoPage(this.value)">
						<#assign x=page.totalPage>
						<#assign y=page.currentPage>
						<#list 1 .. x as i>
						<#if y==i >
						    <option value="${(i)?c}" selected="selected">${(i)?c}</option>
						<#else>
							<option value="${(i)?c}" >${(i)?c}</option>
						</#if>
						</#list>
           </select>
        </span>
        </div>
        </td>
        
    </tr>
</table>
